.TH std::experimental::parallel::is_execution_policy 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::parallel::is_execution_policy \- std::experimental::parallel::is_execution_policy

.SH Synopsis
   Defined in header <experimental/execution_policy>
   template< class T >                                (parallelism TS)
   struct is_execution_policy;

   Checks whether T is a standard or implementation-defined execution policy type.

   Provides the member constant value which is equal to true, if T is execution_policy,
   sequential_execution_policy, parallel_execution_policy,
   parallel_vector_execution_policy, or an implementation-defined execution policy
   type. Otherwise, value is equal to false.

   The behavior of a program that adds specializations for is_execution_policy is
   undefined.

.SH Template parameters

   T - a type to check

   Helper template

   Defined in header <experimental/execution_policy>
   template< class T >
   constexpr bool is_execution_policy_v =                              (parallelism TS)
   is_execution_policy<T>::value;



Inherited from std::integral_constant

.SH Member constants

   value    true if T is a standard or implementation-defined execution policy type,
   \fB[static]\fP false otherwise
            \fI(public static member constant)\fP

.SH Member functions

   operator bool converts the object to bool, returns value
                 \fI(public member function)\fP
   operator()    returns value
   \fI(C++14)\fP       \fI(public member function)\fP

.SH Member types

   Type       Definition
   value_type bool
   type       std::integral_constant<bool, value>
